package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.Employee;
import cn.wolfcode.car.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEmployeeService {
    void save(Employee employee, Long[] roleIds);

    void delete(Long id);

    void update(Employee employee, Long[] roleIds);

    Employee get(Long id);

    List<Employee> selectAll();

    PageInfo<Employee> query(QueryObject qo);

    Employee checkEmp(String username, String password);

    Employee queryByUsername(String username);
}
